using System;

using DesignByContract;

namespace Outcoding.GraphGenerator.Entities {
    public class Graph : Entities.IContent {
        private ChartType mType;

        private Label mTitle;

        private Legend mLegend;
        
        private Datatable mTableData;
        
        private Axes mAxes;
        
        private SeriesCollection mSeries;

        public ChartType Type {
            get {
                return mType;
            }
            set {
                mType = value;
            }
        }

        public Label Title {
            get {
                return mTitle;
            }
            set {
                mTitle = value;
            }
        }

        public Legend Legend {
            get { return mLegend; }
            set { mLegend = value; }
        }


        public Datatable TableData {
            get { return mTableData; }
            set { mTableData = value; }
        }


        public Axes Axes {
            get { return mAxes; }
            set { mAxes = value; }
        }


        public SeriesCollection Series {
            get { return mSeries; }
            set { mSeries = value; }
        }

    }
}
